package com.office.meeting.video.mapper;

import java.util.List;
import com.office.meeting.video.domain.VideoConference;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 视频会议Mapper接口
 * 
 * @author 柒月
 * @date 2025-05-23
 */
public interface VideoConferenceMapper 
{

    /**
     * 查询视频会议列表
     * 
     * @param videoConference 视频会议
     * @return 视频会议集合
     */
    public List<VideoConference> selectVideoConferenceList(@Param("videoConference") VideoConference videoConference, @Param("userId") Long userId);

    /**
     *
     * @param id 会议id号
     * @param password 会议的密码
     * @return 会议对象
     */
    @Select("select meeting_name from conference_invitation where id = #{id} and password = #{password}")
    VideoConference selectVideoConferenceById(@Param("id") Long id,@Param("password") String password);
}
